﻿using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ZeroSum.DependencyInjection.Attributes;

namespace ZeroSum.App.Extensions.Hosting;

[Register(ServiceLifetime.Transient)]
public class CustomStartupFilter : IStartupFilter
{
    public Action<IApplicationBuilder> Configure(Action<IApplicationBuilder> next)
    {
        return app => { next(app); };
    }
}